package com.imax.action;

import com.imax.biz.StudBiz;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class StudAction extends ActionSupport {

private StudBiz studBiz;
	
	public void setStudBiz(StudBiz studBiz) {
		this.studBiz = studBiz;
	}

	public String execute() {
		ActionContext.getContext().put("list",
				studBiz.findAll());
		return SUCCESS;
	}
	public String add(){
		 
		return "add";
	}
	
}